home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 32 (1993-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip / MegaDisc 32 (1993-02)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf / hyperbook / HML_List < prev    next >
Text File  |  1993-02-11  |  23KB  |  710 lines

  1. HyperBook control
  2. numpages
  3.  num = NUMPAGES ()
  4.  Return the number of pages in the current hyperbook.
  5.  
  6. hyperbookname 
  7.  name = HYPERBOOKNAME () 
  8.   Return the name (i.e. the full path name) of the current hyperbook.
  9.  
  10. loadhyperbook
  11.  bool (0 or 1) = LOADHYPERBOOK (filename)
  12.  Load the specified hyperbook.
  13.  
  14. savehyperbook
  15.  bool (0 or 1) = SAVEHYPERBOOK (filename)
  16.  Save the current hyperbook under the given name.
  17.  
  18. hyperbooktofront
  19.  HYPERBOOKTOFRONT ()
  20.  Bring the HyperBook screen to the front.
  21.  
  22. hyperbooktoback
  23.  HYPERBOOKTOBACK ()
  24.  Push the HyperBook screen to the back.
  25.  
  26. quithyperbook
  27.  QUITHYPERBOOK ()
  28.  Exit the HyperBook program.
  29.  
  30. Navigation    
  31. nextpage
  32.  NEXTPAGE ()
  33.  Equivalent to the right arrow gadget on the main control panel.
  34.  
  35. prevpage
  36.  PREVPAGE ()
  37.  Equivalent to the left arrow gadget on the main control panel.
  38.  
  39. gotopage
  40.  old = GOTOPAGE (new)
  41.  Go to the page whose objnum is new; return the objnum of the departed page.
  42.  
  43. callpage
  44.  old = CALLPAGE (new)
  45.  Go to the given new page, and return the objnum of the departed page. A
  46.  subsequent RETURN will go back to the departed page.
  47.  
  48. return
  49.  newpage = RETURN ()
  50.  Make current the last page called (from Table of Contents, CALLPAGE, etc.),
  51.  and return the objnum of that page.
  52.  
  53. Main control panel
  54. bigpanel
  55.  BIGPANEL ()
  56.  Put the main control panel into its `big' state.
  57.  
  58. tinypanel
  59.  TINYPANEL ()
  60.  Put the main control panel into its `tiny' state.
  61.  
  62. controlpanel
  63.  CONTROLPANEL (bool)
  64.  Close (arg = 0) or open (arg = 1) the main control panel.
  65.  
  66. General editing
  67. delete
  68.  DELETE (arg)
  69.  Delete a page, object or item, or empty the bin.
  70.  
  71. relocate
  72.  new = RELOCATE (arg, newparent)
  73.  Move the given object to the bin, a page or a group; or the given item to a
  74.  new list. Return the new objnum of the object or item moved.
  75.  
  76. getbackground
  77.  color = GETBACKGROUND (arg)
  78.  Return the background color number of a page or object (-1 is returned for
  79.  transparent object backgrounds).
  80.  
  81. setbackground
  82.  oldcolor = SETBACKGROUND (arg, newcolor)
  83.  Set the background color of a page or object, and return the old color. The
  84.  object transparent `color' is -1.
  85.  
  86. getwidth
  87.  width = GETWIDTH (arg)
  88.  Return the width in pixels of the given page or object.
  89.  
  90. getheight
  91.  width = GETHEIGHT (arg)
  92.  Return the height in scan-lines of the given page or object.
  93.  
  94. getname
  95.  name = GETNAME (arg)
  96.  Return the name of a page or object.
  97.  
  98. setname
  99.  oldname = SETNAME (arg, newname)
  100.  Set the name of the given page or object, and return the previous name.
  101.  
  102. Page Creation
  103. createpage
  104.  page = CREATEPAGE (frompage, number)
  105.  Create a new page with the given page number using the page specified by the
  106.  frompage objnum as a template. The new page is a clone of frompage but does
  107.  not have any objects on it. Giving zero as the page number causes the new
  108.  page to be appended to the hyperbook. Return the objnum of the new page.
  109.  
  110. clonepage
  111.  page = CLONEPAGE (frompage, number)
  112.  Create a new page with the given page number using the page specified by the
  113.  frompage objnum as a template. The new page is a clone of frompage,
  114.  including any objects on it. Giving zero as the page number causes the new
  115.  page to be appended to the hyperbook. Return the objnum of the new page.
  116.  
  117. mastertopage
  118.  page = MASTERTOPAGE(name, pos)
  119.  A new page is created at position pos from the given master page. The objnum
  120.  of the new page is returned.
  121.  
  122. Master pages
  123. pagetomaster
  124.  PAGETOMASTER (page, name)
  125.  Clone the specified page, including any objects on it, and add it to the
  126.  master page list under the given name.
  127.  
  128. ismasterpage
  129.  bool = ISMASTERPAGE (name)
  130.  Return TRUE (1) if the given name is that of an existing master page.
  131.  
  132. deletemaster
  133.  DELETEMASTER (name) 
  134.  Delete the master page of the given name.
  135.  
  136. Page files
  137. loadpage
  138.  page = LOADPAGE (file, num)
  139.  Load the specified file as page num, and return the objnum of the
  140.  newly-loaded page. A page number of 0 loads to the last page.
  141.  
  142. mergepage
  143.  MERGEPAGE (parg, file)
  144.  Merge the objects in the specified page file onto the page whose objnum is
  145.  parg.
  146.  
  147. savepage
  148.  SAVEPAGE (parg, file)
  149.  Save the specified page to the named file.
  150.  
  151. Page editing
  152. getpagelace
  153.  bool (1 or 0) = GETPAGELACE (page)
  154.  Returns 1 if the given page is in interlace mode, otherwise 0.
  155.  
  156. setpagelace
  157.  bool (1 or 0) = SETPAGELACE (page, bool)
  158.  Set the current page to interlace on (bool argument 1) or off (bool argument
  159.  0). Return the previous interlace state.
  160.  
  161. getpagecolors
  162.  count = GETPAGECOLORS (page)
  163.  Return the number of colors in the palette of the given page.
  164.  
  165. setpagecolors
  166.  oldcount = SETPAGECOLORS (arg, count)
  167.  Set the number of colors (normalized to 4, 8 or 16) for the current page's
  168.  palette, and return the old count.
  169.  
  170. getpagergb
  171.  rgb = GETPAGERGB (page, reg)
  172.  Return the packed rgb value of color register reg on the given page.
  173.  
  174. setpagergb
  175.  oldrgb = SETPAGERGB (page, reg, rgb)
  176.  Set the color register reg on the given page to the new rgb value, and
  177.  return the old value of that register.
  178.  
  179. wiperoutine
  180.  old = WIPEROUTINE (page, new)
  181.  Get/set the wipe effect used by the given page. Values for new in the range
  182.  0 to 17 will change the page effect as per the list at right; other values
  183.  (e.g. -1) do not select a new effect.
  184.  
  185. pagedim
  186.  old = PAGEDIM (page, new)
  187.  Get/set the screen dimming effect that precedes the wipe effect for the
  188.  given page, and return the previous setting. A new value of 0 turns dimming
  189.  off; 1 turns it on. Other values (e.g. -1) do not change the current
  190.  setting.
  191.  
  192. setpagenumber
  193.  new = SETPAGENUMBER (page, num)
  194.  Resequence the page whose position is num, and return its new objnum.
  195.  
  196. refreshpage
  197.  REFRESHPAGE ()
  198.  Redraw the current page.
  199.  
  200. Object creation
  201. createnote
  202.  note = CREATENOTE ()
  203.  Create an empty note of size 61x23 and position (0,0) in the bin, using the
  204.  current default note attributes, and return its objnum.
  205.  
  206. createbutton
  207.  button = CREATEBUTTON ()
  208.  Create an empty button of size 33x17 and position (0,0) in the bin, using
  209.  the current default button attributes, and return its objnum.
  210.  
  211. createlist
  212.  list = CREATELIST ()
  213.  Create an empty list of size 65x43 and position (0,0) in the bin, using the
  214.  current default list attributes, and return its objnum.
  215.  
  216. creategroup
  217.  group = CREATEGROUP ()
  218.  Create an empty group object in the bin, and return its objnum.
  219.  
  220. clone
  221.  new = CLONE (arg, newparent)
  222.  Clone the given object to the bin, a page or a group; or the given item to a
  223.  new list. Arg is unchanged. Return the clone's objnum.
  224.  
  225. Object editing
  226. getleft
  227.  left = GETLEFT (obj)
  228.  Return the left edge position of the object, measured in pixels from the
  229.  left edge of its page.
  230.  
  231. gettop
  232.  top = GETTOP (obj)
  233.  Return the top edge position of the object, measured in scan-lines from the
  234.  top edge of its page.
  235.  
  236. setposition
  237.  SETPOSITION (obj, x, y)
  238.  Set the left and top co-ordinates of the given object.
  239.  
  240. getborder
  241.  border = GETBORDER (obj)
  242.  Return the border color of the object, or -1 if the object's border is
  243.  transparent.
  244.  
  245. setborder
  246.  oldcolor = SETBORDER (obj, color)
  247.  Set the border of the object to the given color, and return the previous
  248.  color. The transparent `color' is -1.
  249.  
  250. getshadow
  251.  shadow = GETSHADOW (obj)
  252.  Return the shadow color of the object, or -1 if the object's shadow is
  253.  transparent.
  254.  
  255. setshadow
  256.  oldcolor = SETSHADOW (obj, color)
  257.  Set the shadow of the object to the given color, and return the previous
  258.  color. The transparent `color' is -1.
  259.  
  260. shadowstyle
  261.  old = SHADOWSTYLE (obj, style)
  262.  Get/set the style of shadow used by obj. The available styles are
  263.  drop-shadow (style = 1) and embossed (2). Any other value (e.g. 0) doesn't
  264.  change the current shadow style setting.
  265.  
  266. getvisibility
  267.  bool (1 or 0) = GETVISIBILITY (obj)
  268.  Return 1 if the `natural visibility state' of the object is visible, or 0 if
  269.  it is invisible.
  270.  
  271. setvisibility
  272.  bool (1 or 0) = SETVISIBILITY (obj, state)
  273.  Set the `natural visibility state' of the object to visible (1), or
  274.  invisible (0). Return the previous state.
  275.  
  276. scale
  277.  SCALE (obj, percent)
  278.  Scale the object's width and height to the given percentage of its current
  279.  dimensions.
  280.  
  281. scaletosize
  282.  SCALETOSIZE (obj, width, height)
  283.  Scale the object to the given width and height.
  284.  
  285. objecttoback
  286.  objnum = OBJECTTOBACK (obj)
  287.  Bring the given object to the back of its group/page and return its new
  288.  objnum.
  289.  
  290. objecttofront
  291.  objnum = OBJECTTOFRONT (obj)
  292.  Bring the given object to the front of its group/page and return its new
  293.  objnum.
  294.  
  295. getgroupdepth
  296.  depth = GETGROUPDEPTH (obj)
  297.  Return the grouping depth of the given object, starting with 0 if the object
  298.  is not in a group.
  299.  
  300. explode
  301.  firstobj = EXPLODE (group)
  302.  Explode the given group, and insert its constituent objects in the group's
  303.  place in its parent list. Return the objnum of the first of these objects
  304.  (or the empty string if the group had no objects).
  305.  
  306. Actions
  307. getaction
  308.  action = GETACTION (arg)
  309.  Return the action type associated with the given object or item, one of:
  310.  noaction, gopage, showpic, showhide, displaytext, doscommand, rexxcommand or
  311.  rexxmacro.
  312.  
  313. getactiontext
  314.  action = GETACTIONTEXT (arg)
  315.  Return the text associated with the given object or item's action.
  316.  
  317. setactionnone
  318.  oldact = SETACTIONNONE (arg)
  319.  Set the action of the specified object or item to noaction. Return the type
  320.  of the former action.
  321.  
  322. setactionpage
  323.  oldact = SETACTIONPAGE (arg, parg)
  324.  Set the action of the specified object or item to gopage. The page's objnum
  325.  is parg. Return the type of the former action.
  326.  
  327. setactionpic
  328.  oldact = SETACTIONPIC (arg, name)
  329.  Set the action of the specified object or item to showpic. The picture is
  330.  the ILBM file name. Return the type of the former action.
  331.  
  332. setactionshow
  333.  oldact = SETACTIONSHOW (arg, oarg)
  334.  Set the action of the specified object or item to showhide. The objnum of
  335.  the target object is oarg. Return the type of the former action.
  336.  
  337. setactionread
  338.  oldact = SETACTIONREAD (arg, name)
  339.  Set the action of the specified object or item to displaytext. The text is
  340.  in the file name. Return the type of the former action.
  341.  
  342. setactiondos
  343.  oldact = SETACTIONDOS (arg, cmd)
  344.  Set the action of the specified object or item to doscommand. The command is
  345.  the string cmd. Return the type of the former action.
  346.  
  347. setactionrexx
  348.  oldact = SETACTIONREXX (arg, dos)
  349.  Set the action of the specified object or item to rexxcommand. The command
  350.  is the string cmd. Return the type of the former action.
  351.  
  352. setactionmacro
  353.  oldact = SETACTIONMACRO (arg, marg)
  354.  Set the action of the specified object or item to rexxmacro. The named macro
  355.  (marg) is used. Return the type of the former action.
  356.  
  357. setactionlink
  358.  oldact = SETACTIONLINK (arg, linktype)
  359.  Set the action of the specified object or item to one of the special
  360.  variants of the gopage action: nextpage, prevpage, firstpage, lastpage,
  361.  return or selectpage. Return the type of the former action.
  362.  
  363. activate
  364.  ACTIVATE (object)
  365.  Execute the action for the given object or item as though it had been
  366.  clicked on.
  367.  
  368. Note and button text
  369. readnotetext
  370.  str = READNOTETEXT (arg, pos, amt)
  371.  Return a string consisting of amt characters beginning at pos in the given
  372.  note or button. An amt of -1 means `to the end of text'.
  373.  
  374. inserttext
  375.  INSERTTEXT (arg, text, pos)
  376.  Insert text at pos in the given note or button. If pos is -1, the text is
  377.  appended.
  378.  
  379. replacetext
  380.  oldtext = REPLACETEXT (arg, text, pos, amt)
  381.  The new text replaces amt characters, beginning at pos in the given note or
  382.  button. An amt of -1 means `to the end of text'.
  383.  
  384. cleartext
  385.  CLEARTEXT (arg)
  386.  Remove all the text from the given note or button.
  387.  
  388. deletetext
  389.  oldtext = DELETETEXT (note, pos, amt)
  390.  Delete amt characters beginning at pos in the given note or button, and
  391.  return the deleted text. An amt of -1 means `to the end of text'.
  392.  
  393. Items and lists
  394. getitemcolor
  395.  color = GETITEMCOLOR (item)
  396.  Return the color of the given item.
  397.  
  398. setitemcolor
  399.  old = SETITEMCOLOR (item, color)
  400.  Set the color of the given item, and return its previous color.
  401.  
  402. getitemtext
  403.  text = GETITEMTEXT (item)
  404.  Return the text string associated with the given item.
  405.  
  406. setitemtext
  407.  oldtext = SETITEMTEXT (item, text)
  408.  Set the item text to text, and return the former text.
  409.  
  410. insertitem
  411.  item = INSERTITEM (next, text, color)
  412.  Create a new item with the given color and text, inserted before item next
  413.  in its list, and return the objnum of the new item.
  414.  
  415. appenditem
  416.  item = APPENDITEM (list, text, color)
  417.  Create a new item with the given color and text, append it to the given
  418.  list, and return its objnum.
  419.  
  420. moveitem
  421.  item = MOVEITEM (olditem, pos)
  422.  Move the given item within its list to position pos, and return its new
  423.  objnum.
  424.  
  425. clearlist
  426.  CLEARLIST (list)
  427.  Empty the given list of all items.
  428.  
  429. sortlist
  430.  SORTLIST (list1 [,list2, ..., listn])
  431.  Sort the items in the given list in ascending lexical order. If more than
  432.  one list is given, the first is sorted, and the others are re-ordered in the
  433.  same way as list1. All the lists must have the same number of items.
  434.  
  435. refreshlist
  436.  REFRESHLIST (list)
  437.  Redraw the given list. Use this to force a refresh while the INTERACTIVE
  438.  flag is turned off (which normally suppresses list rendering).
  439.  
  440. listscroll
  441.  LISTSCROLL (item)
  442.  Scroll the given item's list so that the item is at the top, or as near as
  443.  possible to the top, of the list's display area.
  444.  
  445. listheight
  446.  count = LISTHEIGHT (list)
  447.  Return the number of items the given list can display at its current size.
  448.  The list does not necessarily contain this many items.
  449.  
  450. Searches
  451. searchstart
  452.  SEARCHSTART (start)
  453.  Set the default starting point for SEARCHNAME, SEARCHPAGENAME and
  454.  SEARCHTEXT. If start is an objnum, set the starting point to the
  455.  corresponding page and object (if the objnum is that of a page or the bin,
  456.  the object is taken to be the first in the relevant object list). An empty
  457.  start string is equivalent to specifying '1:' - the first page.
  458.  
  459. searchname
  460.  obj = SEARCHNAME (start, substr)
  461.  From the given starting point in the hyperbook, search for an object whose
  462.  name contains substr, and return its objnum (the empty string if not found).
  463.  If the start argument is empty, the search begins where the most recent
  464.  search left off, or at the point set by SEARCHSTART. The search is case
  465.  insensitive.
  466.  
  467. searchpagename
  468.  obj = SEARCHPAGENAME (start, substr)
  469.  From the given starting point in the hyperbook, search for a page whose name
  470.  contains substr, and return its objnum (the empty string if not found). If
  471.  the start argument is the empty string, the search begins where the most
  472.  recent search left off, or at the point set by SEARCHSTART. The search is
  473.  case insensitive.
  474.  
  475. searchtext
  476.  obj = SEARCHTEXT (start, substr)
  477.  From the given starting point in the hyperbook, search for an object or list
  478.  whose text contains substr, and return its objnum (the empty string if not
  479.  found). If start is the empty string, the search begins where the most
  480.  recent search left off, or as set by SEARCHSTART. The search is case
  481.  insensitive.
  482.  
  483. searchitems
  484.  item = SEARCHITEMS (arg, text)
  485.  Search a list (from the beginning, if arg is a list; or from the given item)
  486.  for text, and return either the objnum of the item containing the text or,
  487.  if the search failed, the empty string. The search is case insensitive.
  488.  
  489. searchnote
  490.  pos = SEARCHNOTE (arg, pattern, start)
  491.  Search the given note or button, arg, starting at position start, for the
  492.  string pattern, and return the position at which it is found, or -1 if the
  493.  search fails. The search is case insensitive.
  494.  
  495. User input
  496. getresponse
  497.  bool (1 or 0) = GETRESPONSE (prompt)
  498.  Put up the Okay/Cancel requester with the given prompt string. Return 1 if
  499.  the user clicks Okay (the checkmark), 0 for Cancel (the X).
  500.  
  501. inputstring
  502.  str = INPUTSTRING (prompt, default)
  503.  Prompt the user to enter a string (modifying the given text, if default is
  504.  non-empty) and return it. Note: the empty string is returned if the user
  505.  cancels the requester.
  506.  
  507. inputform
  508.  text = INPUTFORM (prompt, formtext)
  509.  Obtain multiple lines of input from the user. Formtext specifies the label
  510.  and the default string for each input line in this format:
  511.     <label>:<text>[<LF><label>:<text> ...]
  512.  where LF is a linefeed (in ARexx, a linefeed is '0a'X). The returned text
  513.  consists of the input strings separated by LFs.
  514.  
  515. inputobject
  516.  obj = INPUTOBJECT (prompt)
  517.  Prompt the user to select an object from a list of those on the current
  518.  page. Return the objnum of the selected object.
  519.  
  520. inputpage
  521.  page = INPUTPAGE (prompt)
  522.  Prompt the user to select a page from the page list. Return the objnum of
  523.  the selected page.
  524.  
  525. selectitem
  526.  item = SELECTITEM (list, prompt)
  527.  Display the given prompt to the user, and wait for a click on an item in the
  528.  given list. Return the objnum of the selected item.
  529.  
  530. getclickrow
  531.  row = GETCLICKROW (prompt)
  532.  Display the given prompt in a bar at the top the screen. When the user
  533.  clicks on the page, return the number of the scan-line clicked on.
  534.  
  535. getcolumn
  536.  col = GETCOLUMN ()
  537.  Return the column that was clicked on the last time GETCLICKROW was called.
  538.  
  539. getobjectat
  540.  obj = GETOBJECTAT (x, y)
  541.  Return the objnum of the object at page co-ordinates (x,y). A null objnum
  542.  (the empty string) is returned if there is no object at the given
  543.  co-ordinates.
  544.  
  545. beginprompt
  546.  BEGINPROMPT (text)
  547.  Open the prompt window along the top of the screen, containing the given
  548.  text. If not closed with ENDPROMPT, the window will close automatically when
  549.  the script finishes executing.
  550.  
  551. endprompt
  552.  ENDPROMPT ()
  553.  Close the prompt window (opened with BEGINPROMPT).
  554.  
  555. filerequest
  556.  file = FILEREQUEST (prompt, default)
  557.  Open a file requester with the given prompt and default AmigaDOS path name,
  558.  and return the path name selected by the user. Return the empty string if
  559.  the user cancels.
  560.  
  561. Text editing
  562. loadtext
  563.  text = LOADTEXT (filename)
  564.  Return a string whose value is the entire contents of the given file.
  565.  
  566. savetext
  567.  SAVETEXT (file, text)
  568.  Create a file whose contents is the given text.
  569.  
  570. savemoretext
  571.  SAVEMORETEXT (file, text)
  572.  Append the given text to an existing file.
  573.  
  574. edittext
  575.  newtext = EDITTEXT (name, text)
  576.  Make the text available for editing in the built-in text editor, displaying
  577.  the given name in the editor's title bar. Return the edited text.
  578.  
  579. Printing
  580. getprintwidth
  581.  width = GETPRINTWIDTH ()
  582.  Return the printer line width as set in Preferences, calculated as: right
  583.  margin - left margin + 1.
  584.  
  585. formattext
  586.  newtext = FORMATTEXT (text, margin, width)
  587.  Create and return a new string in which the given string has been
  588.  word-wrapped to lines of width characters, with margin extra spaces added to
  589.  the beginning of each line (these are not counted as part of width).
  590.  
  591. printpage
  592.  bool (1 or 0) = PRINTPAGE ()
  593.  Print the current page... this is just like selecting Print Page on the
  594.  Project menu. Return 1 if the print succeeded, otherwise 0.
  595.  
  596. Data display
  597. showpic
  598.  bool = SHOWPIC (file)
  599.  Display the given ILBM file. Return FALSE (0) if the file does not exist.
  600.  
  601. showtext
  602.  bool = SHOWTEXT (file)
  603.  Display the given text file. Return FALSE (0) if the file does not exist.
  604.  
  605. showtextrange
  606.  bool (1 or 0) = SHOWTEXTRANGE (file, start, amt)
  607.  Display a text range from the given file, beginning start bytes into the
  608.  file and continuing for amt bytes. (The equivalent line number values for
  609.  start and amt can be converted to byte values with the `textrange'
  610.  utility.)
  611.  
  612. Language support
  613. numelements
  614.  num = NUMELEMENTS (arg)
  615.  Return the number of elements in a page, the bin, a group or a list. A group
  616.  is counted as one element, regardless of how many objects it contains.
  617.  
  618. sequencenumber
  619.  num = SEQUENCENUMBER (arg)
  620.  Return the list position of a page, object or item, counting from 1. For
  621.  objects within a group, the position returned is relative to the group, not
  622.  the containing page.
  623.  
  624. totalelements
  625.  num = TOTALELEMENTS (arg)
  626.  Return the number of elements contained in a page, the bin, a list object or
  627.  a group at all levels (i.e. including nested groups). This is equivalent to
  628.  NUMELEMENTS only for lists.
  629.  
  630. gettype
  631.  type = GETTYPE (arg)
  632.  Return one of these strings: Page, Bin, Drawing, Picture, Note, List,
  633.  Button, Group, Item, depending on the type of the argument.
  634.  
  635. getpage
  636.  pg = GETPAGE (arg)
  637.  Return the objnum of the page to which arg pertains.
  638.  
  639. getnext
  640.  next = GETNEXT (arg)
  641.  If arg is a page or an item, the returned value next is the objnum of the
  642.  next page or item. If arg is an object, next is the objnum of the next
  643.  object in a depth-first search of the page, or the first object on the next
  644.  page if there are no more objects on the current page. An empty objnum is
  645.  returned if the end of the list in arg's category has been reached.
  646.  
  647. getnextsib
  648.  next = GETNEXTSIB (arg)
  649.  If arg is a page or an item, the returned value next is the objnum of the
  650.  next page or item. If arg is an object, next is the objnum of the next
  651.  object at the same level as the given one (i.e. without descending if arg is
  652.  a group), or the empty string if there are no more objects in arg's list.
  653.  
  654. objectnumber
  655.  obj = OBJECTNUMBER (arg, num)
  656.  Return the objnum of the object/item whose sequence number on the given
  657.  (page or group)/list is num. The empty string is returned if the sequence
  658.  number is invalid. If arg is the empty string, return the objnum of page
  659.  num.
  660.  
  661. parent
  662.  parent = PARENT (arg)
  663.  Return the objnum of the page, bin, group or list one level up from the
  664.  given object or item.
  665.  
  666. currentpage
  667.  page = CURRENTPAGE ()
  668.  Return the objnum of the current page.
  669.  
  670. initiator
  671.  obj = INITIATOR ()
  672.  Return the objnum of the object or item that launched the current macro or
  673.  ARexx command. Return the empty string if the macro or command was not
  674.  launched by an object or item (e.g. from a menu).
  675.  
  676. ismacro
  677.  bool (1 or 0) = ISMACRO (name)
  678.  Return 1 if the given name is that of a macro in the current hyperbook, and
  679.  0 otherwise. (A zero result does not preclude the possibility that the macro
  680.  may be available to be executed from disk.)
  681.  
  682. movemacro
  683.  MOVEMACRO (macroname, newpos)
  684.  Move the named macro to position newpos in the macro list, which is
  685.  displayed by several selections in the ARexx menu. If the given position is
  686.  less than or equal to zero, the macro is moved to the end of the list.
  687.  
  688. interactive
  689.  oldstate = INTERACTIVE (bool)
  690.  Set (1) or clear (0) interactive mode, and return its previous state. In
  691.  interactive mode, objects are updated on-screen after each operation.
  692.  Otherwise, objects are updated only: when REFRESHLIST or REFRESHPAGE is
  693.  used; on re-entering interactive mode explicitly (with the present
  694.  function); on exiting a command or macro to interactive operation. Commands
  695.  and macros always start in interactive mode.
  696.  
  697. pause
  698.  PAUSE (tenths)
  699.  Pause program execution for the given number of tenths of seconds.
  700.  
  701. inform
  702.  INFORM (string)
  703.  Display the given string, and wait for the user to click Okay.
  704.  
  705. rand
  706.  value = RAND (low, high)
  707.  Return a pseudo-random integer between low and high, inclusive. Unlike
  708.  ARexx's RANDOM function, RAND does not need to be reseeded for each script.
  709.  
  710.